package com.akcome.apollo.service;

import java.util.List;

import org.common.utils.bean.AkResult;

import com.akcome.apollo.domain.BmpAccountWallet;

/**
 * 账户钱包Service接口
 *
 * @author wn
 * @version $v: 1.0.0, $time:2017-12-26 08:49:00 Exp $
 */
public interface BmpAccountWalletService{

	BmpAccountWallet save(BmpAccountWallet bmpAccountWallet);
	
	BmpAccountWallet findOne(Long id);

	int countByAccountIdEnable(Long accountId);

	int countByAccountIdAndCoinType(Long accountId, String coinType);

	AkResult addwalletAddr(BmpAccountWallet bmpAccountWallet);

	List<BmpAccountWallet> findByAccountId(Long accountId);

	AkResult delete(Long walletId);

	AkResult editCoin(Long walletId, Long accountId);

	void submitWalletAddr(BmpAccountWallet bmpAccountWallet);

	int disableWallet(Long id, Long accountId);
}
